/*******************************************************************************
 * Copyright (c) 2008 Smart Mai(smardio@gmail.com).
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the GNU Public License v2.0
 * which accompanies this distribution, and is available at
 * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
 * 
 * Contributors:
 *     Smart Mai(smardio@gmail.com) - initial API and implementation
 ******************************************************************************/
package com.smartdio.company.model;


/**
 * 用于建立演示和测试数据
 * @author smart
 * 
 */
public class DemoData {

	private Company company;

	public DemoData() {
		super();
		company = new Company();

		for (int i = 0; i < 10; i++) {
			Department dep = new Department(company, true);
			dep.name = "Department " + (i + 1);
			dep.company = company;
		}
	}

	public Company getCompany() {
		return company;
	}
}
